package com.example.computer_exam_training_sys.entity;

import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class Knowledge {
    private Long id;
    private Long courseId;
    private String label; // 对应 point_name
    private Integer status; // 对应 level
    private String description;
    private Date createTime;
    private Long parentId; // 对应 parent_point_id

    private List<Knowledge> children; // 用于构建树结构
}